package business.service.delegate
{
	import com.adobe.cairngorm.business.ServiceLocator;
	
	import mx.rpc.IResponder;
	import mx.rpc.remoting.RemoteObject;
	public class InitialDelegate
	{
		private var responder:IResponder;
		private var remoteObject:RemoteObject;
		public function InitialDelegate(responder:IResponder)
		{
			this.responder = responder;
			this.remoteObject = ServiceLocator.getInstance().getRemoteObject("myRemoteModelTest");
		}
		public function getUserTypes():void {
			var call:Object = remoteObject.getHello();
			call.addResponder(responder);
		}
	}
}